<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>vue.js</title>
	<script type="text/javascript" src="../js/vue.js"></script>
</head>
<body>
	<div id="app">
		<p>input 元素：</p>
		<input v-model="message" placeholder="edit" />
		<p>消息是： {{message}}</p>
		<p>textarea 元素：</p>
		<p style="white-space: pre;">{{message2}}</p>
		<textarea v-model="message2" placeholder="多行文本输入。。。"></textarea>
	</div>
	<script type="text/javascript">
		var vm  = new Vue({
			el: '#app',
			data: {
				message: 'hello',
				message2: 'world!'
			}
		})
	</script>
</body>
</html>
